home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frmDataEnvironment
- BorderStyle = 1 'Fixed Single
- Caption = "Data Environment Example"
- ClientHeight = 1995
- ClientLeft = 45
- ClientTop = 330
- ClientWidth = 4530
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 1995
- ScaleWidth = 4530
- StartUpPosition = 3 'Windows Default
- Begin VB.CommandButton cmdNext
- Caption = "&Next"
- Height = 495
- Left = 2520
- TabIndex = 9
- Top = 1320
- Width = 1215
- End
- Begin VB.CommandButton cmdPrevious
- Caption = "&Previous"
- Height = 495
- Left = 840
- TabIndex = 8
- Top = 1320
- Width = 1215
- End
- Begin VB.TextBox txtPubID
- DataField = "PubID"
- DataMember = "comTitles"
- DataSource = "denBooks"
- Height = 285
- Left = 840
- TabIndex = 7
- Top = 840
- Width = 660
- End
- Begin VB.TextBox txtISBN
- DataField = "ISBN"
- DataMember = "comTitles"
- DataSource = "denBooks"
- Height = 285
- Left = 840
- TabIndex = 5
- Top = 480
- Width = 3300
- End
- Begin VB.TextBox txtYearPublished
- DataField = "Year Published"
- DataMember = "comTitles"
- DataSource = "denBooks"
- Height = 285
- Index = 0
- Left = 3000
- TabIndex = 3
- Top = 840
- Width = 810
- End
- Begin VB.TextBox txtTitle
- DataField = "Title"
- DataMember = "comTitles"
- DataSource = "denBooks"
- Height = 285
- Left = 840
- TabIndex = 1
- Top = 120
- Width = 3375
- End
- Begin VB.Label lblFieldLabel
- Alignment = 1 'Right Justify
- AutoSize = -1 'True
- Caption = "PubID:"
- Height = 255
- Index = 3
- Left = -1080
- TabIndex = 6
- Top = 840
- Width = 1815
- End
- Begin VB.Label lblFieldLabel
- Alignment = 1 'Right Justify
- AutoSize = -1 'True
- Caption = "ISBN:"
- Height = 255
- Index = 2
- Left = -1080
- TabIndex = 4
- Top = 480
- Width = 1815
- End
- Begin VB.Label lblFieldLabel
- Alignment = 1 'Right Justify
- AutoSize = -1 'True
- Caption = "Year Published:"
- Height = 255
- Index = 1
- Left = 1080
- TabIndex = 2
- Top = 840
- Width = 1815
- End
- Begin VB.Label lblFieldLabel
- Alignment = 1 'Right Justify
- AutoSize = -1 'True
- Caption = "Title:"
- Height = 255
- Index = 0
- Left = -1080
- TabIndex = 0
- Top = 180
- Width = 1815
- End
- Attribute VB_Name = "frmDataEnvironment"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub cmdNext_Click()
- denBooks.rscomTitles.MoveNext
- If denBooks.rscomTitles.EOF Then
- denBooks.rscomTitles.MoveLast
- End If
- End Sub
- Private Sub cmdPrevious_Click()
- denBooks.rscomTitles.MovePrevious
- If denBooks.rscomTitles.BOF Then
- denBooks.rscomTitles.MoveFirst
- End If
- End Sub
-